home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 May / Disc 2 / PCU0503CD2.iso / Crystal / Samples / CPP / 32bit / Mycall / MAINVIEW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-18  |  1.6 KB  |  68 lines

  1. // MainView.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // MainView form view
  6.  
  7. #ifndef __AFXEXT_H__
  8. #include <afxext.h>
  9.  
  10. #endif
  11. #if !defined(_MAINVIEW_)
  12. #define _MAINVIEW_
  13.  
  14. #include "cursorbx.h"
  15. #include "areacmbo.h"
  16. class MainView : public CFormView
  17. {
  18. protected:
  19.     MainView();           // protected constructor used by dynamic creation
  20.     DECLARE_DYNCREATE(MainView)
  21.  
  22. // Form Data
  23. public:
  24.     void InitializeCombo(void);
  25.     //{{AFX_DATA(MainView)
  26.     enum { IDD = ID_MAINFORM };
  27.     CListBox    m_mainList;
  28.     //}}AFX_DATA
  29.  
  30. // Attributes
  31. public:
  32. CAreaCombo m_Area; // Area values in PETrackCursorInfo structure PEcombo box on cdialogbar
  33. CCursorBox m_CursorType; //  Combobox containing cursor values on cdialogbar
  34.  
  35. // Operations
  36. public:
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(MainView)
  41.     public:
  42.     virtual void OnInitialUpdate();
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     virtual void OnDraw(CDC* pDC);
  46.     //}}AFX_VIRTUAL
  47.  
  48. // Implementation
  49. protected:
  50.     virtual ~MainView();
  51. #ifdef _DEBUG
  52.     virtual void AssertValid() const;
  53.     virtual void Dump(CDumpContext& dc) const;
  54. #endif
  55.  
  56.     // Generated message map functions
  57.     //{{AFX_MSG(MainView)
  58.     afx_msg void OnSize(UINT nType, int cx, int cy);
  59.     afx_msg void OnClearwindow();
  60.     afx_msg void OnUpdateClearwindow(CCmdUI* pCmdUI);
  61.     afx_msg void OnUpdateSet(CCmdUI* pCmdUI);
  62.     afx_msg void OnSetcursor();
  63.     //}}AFX_MSG
  64.     DECLARE_MESSAGE_MAP()
  65. };
  66. #endif
  67. /////////////////////////////////////////////////////////////////////////////
  68.